{template 'common/header'}
<link rel="stylesheet" href="../addons/kuyuan_red/dist/web/common.css" />
<link rel="stylesheet" href="../addons/kuyuan_red/dist/web/profit-setting.css" />

<div id="louie" data-url="{php echo $this->createWebUrl('api')}">
    {template 'web/setting/common/nav/nav'}
    <form action="" method="post" class="row col-xs-6" v-on:submit.prevent="submit">
        <div class="form-group">
            <label>默认红包手续费(0=无手续费),当前手续费{{per_normal_red_ratio}}%</label>
            <input type="text" v-model.trim="normal_red_ratio" class="form-control" placeholder="默认红包手续费(0=无手续费)" />
        </div>
        <div class="form-group">
            <label>图片红包手续费(0=无手续费),当前手续费{{per_pic_red_ratio}}%</label>
            <input type="text" v-model.trim="pic_red_ratio" class="form-control" placeholder="图片红包手续费(0=无手续费)" />
        </div>
        <div class="form-group">
            <label>视频红包手续费(0=无手续费),当前手续费{{per_video_red_ratio}}%</label>
            <input type="text" v-model.trim="video_red_ratio" class="form-control" placeholder="图片红包手续费(0=无手续费)" />
        </div>
        <button class="btn btn-primary" type="submit">确认设置</button>
    </form>

    <!--提示框--><v-dialog style="z-index:99999999;"/>
</div>

<script src="../addons/kuyuan_red/dist/web/common.js"></script>
<script src="../addons/kuyuan_red/dist/web/profit-setting.js"></script>
{template 'common/footer'}